package com.vm.osm.business.service;

import com.vm.osm.business.dto.req.checkPlan.ReqAddKpi;
import com.vm.osm.business.dto.req.checkPlan.ReqUpdateKpi;
import com.vm.osm.business.dto.rsp.checkPlan.KpiItem;
import com.vm.osm.business.dto.rsp.checkPlan.RspKpiPage;
import com.vm.osm.business.entity.OsmKpi;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * Created by chenzui on 2018/2/9.
 */
public interface IKpiService extends IBaseService<OsmKpi,String> {
    public void addKpiInfo(ReqAddKpi reqAddKpi,String enterpriseId);

    public List<KpiItem> getKpiByCond(String deviceType,String enterpriseId,String kpiName);


    public RspKpiPage getPage(String deviceType, String enterpriseId, String kpiName,Integer pageNum,Integer pageSize);

    public void updateKpi(ReqUpdateKpi reqUpdateKpi, HttpServletRequest request);

    public void delete(String id);

}
